FreezeSelected Method

Summary
Freezes or un-freezes the selected cells in the MedicalViewer control.
Syntax
C#
C++/CLI
public void FreezeSelected( 
   bool freeze 
) 
            public: 
void FreezeSelected(  
   bool freeze 
)  

Parameters

freeze
true to freeze the selected cells, false to un-freeze the selected cells.

Remarks
  • Freezing a cell means that no actions using the mouse or the keyboard can be performed on the cell. Cell properties can still be changed.
  • You can select or un-select a frozen cell.
  • Use the MedicalViewerBaseCell.Frozen property to freeze a single cell.
Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
using Leadtools.ImageProcessing.Core; 
 
public void MedicalViewerCellCollectionInvertSelectionExample() 
{ 
   int index; 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
 
   medicalViewer.Cells.FreezeAll(false); 
   for (index = 0; index < medicalViewer.Cells.Count; index++) 
      if ((index % 2) == 0) 
         medicalViewer.Cells[index].Selected = true; 
 
   medicalViewer.Cells.InvertSelection(); 
   medicalViewer.Cells.FreezeSelected(true); 
   myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 22.0.2023.2.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.